package com.ys.ylideas.service;

import java.util.List;
import java.util.Map;

import com.ys.ylideas.entity.BaiUserContact;
import com.ys.ylideas.entity.UserEntity;

public interface AccountService {
	
	List<UserEntity> checkAccount(long userId);
	void save(UserEntity userEntity);
	void update(UserEntity userEntity);
	String getUserToken(long userId);
	void updateRFTokenByUserId(Map<String,Object> map);
	boolean saveForService(BaiUserContact e);
	
	// 定时任务新增
	List<Long> getAllUserId();
	
	UserEntity getUserById(Long id);	
}
